// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'LIBERTY' 
wait 1000 

:LIBERTY_16
wait 0 
if 
   Player.Defined($PLAYER_CHAR)
else_jump @LIBERTY_16 
if and
  $ONMISSION == 0 
   not Actor.Driving($PLAYER_ACTOR)
00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere 2539.4 -1629.5 12.6 radius 1.0 1.0 1.5 on_foot 
else_jump @LIBERTY_16 
00BB: show_text_lowpriority GXT 'DSMD223' time 2000 flag 1 
fade 0 1000 
wait 1500 
select_interior 1 
04E4: unknown_refresh_game_renderer_at -795.0652 490.6776 
Camera.SetAtPos(-795.0652, 490.6776, 1376.195)
Actor.PutAt($PLAYER_ACTOR, -795.0652, 490.6776, 1376.195)
Actor.Angle($PLAYER_ACTOR) = 0.05
0860: link_actor $PLAYER_ACTOR to_interior 1 
wait 500 
fade 1 1000 
wait 1000 
00BB: show_text_lowpriority GXT 'DSMD22V' time 5000 flag 1 
else_jump @LIBERTY_16 
04ED: load_animation "BAR" 
04ED: load_animation "INT_HOUSE" 
04ED: load_animation "MISC" 
Model.Load(#VBFYCRP)
Model.Load(#BMOCHIL)
Model.Load(#SWMOTR3)
Model.Load(#VWMYBJD)
Model.Load(#WMYKARA)
Model.Load(#GUN_CANE)
038B: load_requested_models 

:LIBERTY_293
wait 0 
if and
   Model.Available(#VBFYCRP)
   Model.Available(#BMOCHIL)
   Model.Available(#SWMOTR3)
   Model.Available(#VWMYBJD)
   Model.Available(#WMYKARA)
   Model.Available(#GUN_CANE)
else_jump @LIBERTY_293 
5@ = Actor.Create(CivFemale, #VBFYCRP, -786.9, 497.9, 1371.75)
Actor.Angle(5@) = 0.05
Actor.Health(5@) = 1000
03FE: set_actor 5@ money 500 
Actor.SetImmunities(5@, 0, 1, 0, 0, 0)
0860: link_actor 5@ to_interior 1 
6@ = Actor.Create(CivMale, #BMOCHIL, -790.1, 500.6, 1367.37)
Actor.Angle(6@) = 270.0
Actor.Health(6@) = 1000
03FE: set_actor 6@ money 1000 
Actor.SetImmunities(6@, 0, 1, 0, 0, 0)
0860: link_actor 6@ to_interior 1 
7@ = Actor.Create(CivMale, #SWMOTR3, -812.82, 497.83, 1359.74)
Actor.Angle(7@) = 0.05
Actor.Health(7@) = 1000
03FE: set_actor 7@ money 1000 
Actor.SetImmunities(7@, 0, 1, 0, 0, 0)
0860: link_actor 7@ to_interior 1 
8@ = Actor.Create(CivMale, #VWMYBJD, -782.4, 498.15, 1371.74)
Actor.Angle(8@) = 0.05
Actor.Health(8@) = 1000
03FE: set_actor 8@ money 1000 
Actor.SetImmunities(8@, 0, 1, 0, 0, 0)
0860: link_actor 8@ to_interior 1 
9@ = Actor.Create(CivMale, #WMYKARA, -834.4, 518.95, 1357.14)
Actor.Angle(9@) = 200.0
Actor.Health(9@) = 1000
Actor.Armour(9@) = 500
Actor.SetImmunities(9@, 1, 1, 1, 1, 0)
0860: link_actor 9@ to_interior 1 
060B: set_actor 9@ decision_maker_to 32 
060F: set_actor 9@ melee_accuracy_to 100.0 
02E0:   actor 9@ aggressive 
01B2: give_actor 9@ weapon 15 ammo 1 // Load the weapon model before using this 
03FE: set_actor 9@ money 5000 
wait 500 
05E2: AS_actor 9@ kill_actor $PLAYER_ACTOR 
07A5: AS_actor 9@ attack_actor $PLAYER_ACTOR -1 ms 
0605: actor 5@ perform_animation_sequence "BARMAIN_IDLE" IFP_file "BAR" 4.0 loop 1 0 0 0 time -1 // versionA 
0605: actor 6@ perform_animation_sequence "WASH_UP" IFP_file "INT_HOUSE" 4.0 loop 1 0 0 0 time -1 // versionA 
0605: actor 7@ perform_animation_sequence "IDLE_CHAT_02" IFP_file "MISC" 4.0 loop 1 0 0 0 time -1 // versionA 
0605: actor 8@ perform_animation_sequence "BARSERVE_LOOP" IFP_file "BAR" 4.0 loop 1 0 0 0 time -1 // versionA 
Model.Destroy(#VBFYCRP)
Model.Destroy(#BMOCHIL)
Model.Destroy(#SWMOTR3)
Model.Destroy(#VWMYBJD)
Model.Destroy(#WMYKARA)
Model.Destroy(#GUN_CANE)

:LIBERTY_951
wait 0 
if 
   Player.Defined($PLAYER_CHAR)
else_jump @LIBERTY_1050 
if 
   not Actor.Dead(5@)
   not Actor.Dead(6@)
   not Actor.Dead(7@)
   not Actor.Dead(8@)
   not Actor.Dead(9@)
else_jump @LIBERTY_1082 
if 
0104:   actor $PLAYER_ACTOR near_actor 5@ radius 150.0 150.0 50.0 sphere 0 
else_jump @LIBERTY_1050 
jump @LIBERTY_951 

:LIBERTY_1050
Actor.RemoveReferences(5@)
Actor.RemoveReferences(6@)
Actor.RemoveReferences(7@)
Actor.RemoveReferences(8@)
Actor.RemoveReferences(9@)
jump @LIBERTY_16 

:LIBERTY_1082
Actor.RemoveReferences(5@)
Actor.RemoveReferences(6@)
Actor.RemoveReferences(7@)
Actor.RemoveReferences(8@)
Actor.RemoveReferences(9@)
1@ = 2494.852 
2@ = -1678.393 
3@ = 13.3387 
4@ = 180.0 

:LIBERTY_1147
wait 0 
if 
   Player.Defined($PLAYER_CHAR)
else_jump @LIBERTY_1147 
if 
00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere -824.5602 494.4422 1358.838 radius 1.0 1.0 1.0 on_foot 
else_jump @LIBERTY_1147 
fade 0 1000 
wait 1000 
select_interior 0 
04E4: unknown_refresh_game_renderer_at 1@ 2@ 
Camera.SetAtPos(1@, 2@, 3@)
Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)
Actor.Angle($PLAYER_ACTOR) = 4@
0860: link_actor $PLAYER_ACTOR to_interior 0 
wait 500 
fade 1 1000 
wait 1000 
jump @LIBERTY_16 
